package com.zhentao.common;

/**
 * @ClassName: LoginManageUserConstant
 * @Author: 振涛教育_李小超
 * @Date: 2024年4月3日 10:09
 */
public class LoginManageUserConstant {

    private static final ThreadLocal<Long> USER_ID = new ThreadLocal<>();
    private static final ThreadLocal<String> USER_NAME = new ThreadLocal<>();

    public static void setManageUserId(Long userId) {
        USER_ID.set(userId);
    }

    public static Long getManageUserId() {
        return USER_ID.get();
    }

}
